from sqlalchemy import Column, Integer, String

from models.base import BaseDbModel


class SystemUser(BaseDbModel):
    __tablename__ = "system_user"
    __table_args__ = {
        "comment": "用户表",
    }
    id = Column(Integer, primary_key=True, index=True, autoincrement=True)
    name = Column(String(255), nullable=False, comment="名称")
    email = Column(String(255), unique=True, nullable=False, comment="邮箱")
